<%--
  Created by IntelliJ IDEA.
  User: sidongliang
  Date: 2020/8/21
  Time: 10:14
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>学生管理系统登录</title>
</head>
<style type="text/css">
    .input-name {
        width: 200px;
    }

    table {
        width: 250px;
        margin: 100px auto;
    }
</style>
<body>
<%
    String message = request.getParameter("message")==null? "":request.getParameter("message");
    String username = request.getParameter("no")==null? "":request.getParameter("no");
%>

<form action="login" method="POST">
    <table>
        <tr>
            <td colspan="2">
                <%= message %>
            </td>
        </tr>
        <tr>
            <td>账号</td>
            <td>
                <input class="input-name" name="no" type="text" placeholder="学生姓名" maxlength="20">
            </td>
        </tr>
        <tr>
            <td>密码</td>
            <td>
                <input class="input-name" name="password" type="password" maxlength="6">
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <button type="submit">登录</button>
            </td>
        </tr>
    </table>
</form>

</body>
</html>
